module.exports = {
  plugins: [
    [// 自动引入vant的css
      "import",
      {
        libraryName: "vant",
        libraryDirectory: "es",
        // 指定样式路径
        style: name => `${name}/style/less`
      },
      "vant"
    ],
    "@babel/plugin-syntax-dynamic-import",
    "@babel/plugin-proposal-optional-chaining"// 可选链插件
  ]
};
